package com.sdhs.workflow.service;

import com.sdhs.workflow.domain.vo.UnifyMsgVo;
import com.sdhs.workflow.domain.vo.UnifyTaskVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * 调用统一代办平台接口
 */
@FeignClient(url = "${unify.url}",name = "iUnifyDeleteApiService")
public interface IUnifyDeleteApiService {

    /**
     * 统一代办集成--删除代办任务
     * @param ClientId
     * @param OperationCode
     * @param taskVo
     * @return
     */
    @PostMapping("/Iaw/portal/api/wfms/deleteTodo")
    public String deleteTodo(@RequestHeader("ClientId")String ClientId,
                             @RequestHeader("OperationCode")String OperationCode,
                             @RequestBody UnifyTaskVo taskVo);

}
